package com.cyq.dascma.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Generated;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 老师实体
 * dingwen
 * 2021/3/9 16:45
 **/
@Getter
@Setter
@ApiModel(description = "教师表")
@TableName(value = "dasc_man_teacher")
public class Teacher implements Serializable {
    private static final long serialVersionUID = 7021403606150326904L;

    @ApiModelProperty(name = "teacherId", value = "教师工号 & 登录账号")
    @TableId(value = "teacher_id")
    @TableField(value = "teacher_id")
    private String teacherId;

    @ApiModelProperty(name = "teacherName", value = "教师姓名")
    @TableField(value = "teacher_name")
    private String teacherName;

    @ApiModelProperty(name = "teacherImg", value = "教师头像图片")
    @TableField(value = "teacher_img")
    private String teacherImg;

    @ApiModelProperty(name = "teacherGender", value = "教师性别【0：男 1：女】")
    @TableField(value = "teacher_gender")
    private Integer teacherGender;

    @ApiModelProperty(name = "teacherQq", value = "教师QQ")
    @TableField(value = "teacher_qq")
    private String teacherQq;

    @ApiModelProperty(name = "teacherWechat", value = "教师微信 || 电话号码")
    @TableField(value = "teacher_wechat")
    private String teacherWechat;

    @ApiModelProperty(name = "teacherPassword", value = "教师登录密码")
    @TableField(value = "teacher_password")
    private String teacherPassword;

    @ApiModelProperty(name = "teacherLevel", value = "教师权限码【0：普通教师 1：班主任 2:管理员】")
    @TableField("teacher_level")
    private Integer teacherLevel;
}
